#!/usr/local/bin/python
# -*- coding: gbk -*-
#============================================================
# GM2DOP.PY                     -- by Dr. ZhuoQing 2020-11-10
#
# Note:
#============================================================

from head import *

#------------------------------------------------------------
windows = tspgetwindowtitle()

for ws in windows:
    if ws.find('Movie Gear') > 0:
        gifname = ws.split('-')[0].strip()
        giffull = os.path.join(r'd:\temp', gifname)

        tspacceptfile(giffull)

        break








#------------------------------------------------------------
#        END OF FILE : GM2DOP.PY
#============================================================
